﻿<%@ Control Language="C#" ClassName="UserFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataUserFullName" runat="server" Text="User Full Name:" AssociatedControlID="dataUserFullName" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataUserFullName" Text='<%# Bind("UserFullName") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataUserFullName" runat="server" Display="Dynamic" ControlToValidate="dataUserFullName" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataUserNameLogin" runat="server" Text="User Name Login:" AssociatedControlID="dataUserNameLogin" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataUserNameLogin" Text='<%# Bind("UserNameLogin") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataUserNameLogin" runat="server" Display="Dynamic" ControlToValidate="dataUserNameLogin" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataUserPassword" runat="server" Text="User Password:" AssociatedControlID="dataUserPassword" /></td>
        <td>
					<asp:HiddenField runat="server" id="dataUserPassword" Value='<%# Bind("UserPassword") %>'></asp:HiddenField>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataUserLastLogin" runat="server" Text="User Last Login:" AssociatedControlID="dataUserLastLogin" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataUserLastLogin" Text='<%# Bind("UserLastLogin") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataUserLastLogin" runat="server" Display="Dynamic" ControlToValidate="dataUserLastLogin" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataUserFunction" runat="server" Text="User Function:" AssociatedControlID="dataUserFunction" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataUserFunction" SelectedValue='<%# Bind("UserFunction") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Yes" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataIsActive" runat="server" Text="Is Active:" AssociatedControlID="dataIsActive" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataIsActive" SelectedValue='<%# Bind("IsActive") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Yes" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


